﻿using ZYCommon;
using System;


namespace TextEditor
{
    
    public class A_EditScript : A_Action
    {
        public override string ActionName()
        {
            return "editscript";
        }

        public override bool UIExecute()
        {
            //if (!base.OwnerDocument.Script.EditPWDChecked && (dlgInputBox.InputPassword("请输入编辑密码", "系统提示", new CheckStringHandler(base.OwnerDocument.Script.CheckEditPWD)) == null))
            //{
            //    return false;
            //}
            //using (frmScript script = new frmScript())
            //{
            //    script.ScriptObj = base.OwnerDocument.Script;
            //    script.ShowDialog();
            //}
            return true;
        }
    }
}

